﻿<Window
  x:Class="SanctusSoftware.Music.ChordSheetEditor.Wpf.ChordsWithHyperlinksErrorWindow"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Title="Chords Contain Hyperlinks"
  Height="278"
  Width="420"
  WindowStartupLocation="CenterScreen"
    ResizeMode="NoResize">
  <Grid>
    <Grid.ColumnDefinitions>
      <ColumnDefinition
        Width="Auto" />
      <ColumnDefinition
        Width="*" />
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
      <RowDefinition
        Height="Auto" />
      <RowDefinition
        Height="Auto" />
      <RowDefinition
        Height="Auto" />
      <RowDefinition
        Height="Auto" />
    </Grid.RowDefinitions>
    <Image
      Grid.Column="0"
      Grid.Row="0"
      Grid.RowSpan="2"
      Source="Images/Help_48x48.png"
      Height="48"
      Width="48"
      Margin="7 7 0 0"
      VerticalAlignment="Top"
      HorizontalAlignment="Left" />
    <TextBlock
      Grid.Column="1"
      Grid.Row="0"
      Margin="7 7 7 0"
      Foreground="MidnightBlue"
      FontWeight="Bold"
      FontFamily="Tahoma"
      FontSize="16">One or More Chords Contain Hyperlinks.</TextBlock>
    <TextBlock
      Grid.Column="1"
      Grid.Row="1"
      Margin="7 7 7 0"
      FontWeight="Bold"
      FontFamily="Tahoma"
      FontSize="12"
      VerticalAlignment="Stretch"
      TextWrapping="Wrap">The Chord Sheet Editor cannot transpose chords that are hyperlinks. Do you want to remove the Hyperlinks?</TextBlock>
    <Button
      x:Name="_OKButton"
      Grid.Column="1"
      Grid.Row="2"
      Margin="7 7 7 0"
      IsDefault="True"
      Click="_OKButton_Click">
      <Button.Template>
        <ControlTemplate>
          <Border
            BorderBrush="Black"
            BorderThickness="1"
            Padding="7">
            <Grid>
              <Grid.ColumnDefinitions>
                <ColumnDefinition
                  Width="Auto" />
                <ColumnDefinition
                  Width="*" />
              </Grid.ColumnDefinitions>
              <Grid.RowDefinitions>
                <RowDefinition
                  Height="Auto" />
                <RowDefinition
                  Height="*" />
              </Grid.RowDefinitions>
              <Image
                Grid.Column="0"
                Grid.Row="0"
                Margin="0 0 7 0"
                Source="Images/Stock Index Up_16x16_right.png" />
              <TextBlock
                Grid.Column="1"
                Grid.Row="0"
                Foreground="MidnightBlue"
                FontWeight="Bold"
                FontSize="16">Remove Hyperlinks from Chords</TextBlock>
              <TextBlock
                Grid.Column="1"
                Grid.Row="1"
                TextWrapping="Wrap"
                Foreground="MidnightBlue"
                FontWeight="Bold"
                FontSize="12">Removes Hyperlink references from all chord symbols and completes the transposition.</TextBlock>
            </Grid>
          </Border>
        </ControlTemplate>
      </Button.Template>
    </Button>
    <Button
      x:Name="_CancelButton"
      Grid.Column="1"
      Grid.Row="3"
      Margin="7 7 7 0"
      IsCancel="True"
      Click="_CancelButton_Click">
      <Button.Template>
        <ControlTemplate>
          <Border
            BorderBrush="Black"
            BorderThickness="1"
            Padding="7">
            <Grid>
              <Grid.ColumnDefinitions>
                <ColumnDefinition
                  Width="Auto" />
                <ColumnDefinition
                  Width="*" />
              </Grid.ColumnDefinitions>
              <Grid.RowDefinitions>
                <RowDefinition
                  Height="Auto" />
                <RowDefinition
                  Height="*" />
              </Grid.RowDefinitions>
              <Image
                Grid.Column="0"
                Grid.Row="0"
                Margin="0 0 7 0"
                Source="Images/Stock Index Up_16x16_right.png" />
              <TextBlock
                Grid.Column="1"
                Grid.Row="0"
                Foreground="MidnightBlue"
                FontWeight="Bold"
                FontSize="16">Cancel</TextBlock>
              <TextBlock
                Grid.Column="1"
                Grid.Row="1"
                TextWrapping="Wrap"
                Foreground="MidnightBlue"
                FontWeight="Bold"
                FontSize="12">Does not remove the Hyperlinks from the chord symbols and cancels transposition.</TextBlock>
            </Grid>
          </Border>
        </ControlTemplate>
      </Button.Template>
    </Button>
  </Grid>
</Window>
